#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Times;
using Cephei.QL;
namespace Cephei.QL.Termstructures.Credit
{
     // <summary> 
	// ! \ingroup defaultprobabilitytermstructures
	// </summary>
    [Guid ("B43B17AE-E8C4-43de-8265-7389836A931A"),ComVisible(true)]
	public interface IFlatHazardRate : Cephei.QL.Termstructures.Credit.IHazardRateStructure
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 DateTime MaxDate {get;}
    }

    // <summary> 
	// ! \ingroup defaultprobabilitytermstructures Factory
	// </summary>
   	[ComVisible(true)]
    public interface IFlatHazardRate_Factory // : Collection_Factory<IFlatHazardRate, ICell<IFlatHazardRate>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IFlatHazardRate Create (UInt32 settlementDays, Cephei.QL.Times.ICalendar calendar, Double hazardRate, Cephei.QL.Times.IDayCounter dayCounter);
        
	    IFlatHazardRate Create (DateTime referenceDate, Cephei.QL.IQuote hazardRate, Cephei.QL.Times.IDayCounter dayCounter);
        
	    IFlatHazardRate Create (UInt32 settlementDays, Cephei.QL.Times.ICalendar calendar, Cephei.QL.IQuote hazardRate, Cephei.QL.Times.IDayCounter dayCounter);
        
	    IFlatHazardRate Create (DateTime referenceDate, Double hazardRate, Cephei.QL.Times.IDayCounter dayCounter);
    }
}

